package com.chaoma.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.chaoma.common.annotation.Excel;
import com.chaoma.common.core.domain.BaseEntity;

/**
 * 用户对象 user
 *
 * @author chaoma
 * @date 2023-10-07
 */
public class cmUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 设备号 */
    @Excel(name = "设备号")
    private String imei;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 0未审核1成功2失败 */
    @Excel(name = "0未审核1成功2失败")
    private String flag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setImei(String imei)
    {
        this.imei = imei;
    }

    public String getImei()
    {
        return imei;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setFlag(String flag)
    {
        this.flag = flag;
    }

    public String getFlag()
    {
        return flag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imei", getImei())
            .append("name", getName())
            .append("flag", getFlag())
            .toString();
    }
}
